function [points,group] = datagen(radio)

points = rand(1000,2);
group = zeros(1000,1);

for i = 1:1000
    if sqrt((points(i,1)-0.5)^2+(points(i,2)-0.5)^2) < radio
        group(i,1) = 1;
    else
        group(i,1) = 0;
    end
end

lable1 = find(group==1);
lable2 = find(group==0);

